/**
 * 
 */
package com.qwiki.xml;

/**
 * WikiXMLPageValidArticleFilter
 * 
 * @author xgu
 * @since Jun 27, 2012
 */
public class WikiXMLPageValidArticleFilter implements WikiXMLPageFilter
{

  /*
   * (non-Javadoc)
   * 
   * @see com.qwiki.xml.WikiXMLPageFilter#isGood()
   */
  @Override
  public boolean isGood(WikiXMLPage xmlpage)
  {
    if (xmlpage.getNamespace() == 0 && !xmlpage.isRedirect())
      return true;
    return false;
  }

}
